from selenium.webdriver.common.by import By

class Register:
    def register(self,driver,username,password,repassword):
        driver.find_element(By.ID, "username").send_keys(username)
        driver.find_element(By.ID, "password").send_keys(password)
        driver.find_element(By.ID, "repassword").send_keys(repassword)
        driver.find_element(By.ID, "login_btn").click()

        return driver